\hypertarget{class_yig_network_channel_view}{
\section{YigNetworkChannelView Class Reference}
\label{class_yig_network_channel_view}\index{YigNetworkChannelView@{YigNetworkChannelView}}
}


{\ttfamily \#include $<$yignetworkchannelview.h$>$}

Inheritance diagram for YigNetworkChannelView:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_yig_network_channel_view}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_network_channel_view_a6f6873594af6546786154aad4cfd0989}{createSynthGraphic} (\hyperlink{class_yig_synth}{YigSynth} $\ast$yigSynth, QString key, QString synthName, QPoint point)
\item 
void \hyperlink{class_yig_network_channel_view_a65179ebaab3938c2ff309f7a5ed06c4b}{destroySynthGraphic} (QString key)
\item 
void \hyperlink{class_yig_network_channel_view_ac109b426d0d45d56ecb6d74296f47283}{createCableGraphic} (QString inputKey, QString outputKey, \hyperlink{class_yig_cable_graphic_af184598588b32de1439cc157858141db}{YigCableGraphic::CableOutputType} outputType)
\item 
void \hyperlink{class_yig_network_channel_view_a98db6c32035302894cd9d877acf8b489}{destroyCableGraphic} (QString mapKey)
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_network_channel_view_afbac77d5cb7d967f570805927f3546d3}{dragAndDrop} (QString userName, QString synthName, QPoint point)
\item 
void \hyperlink{class_yig_network_channel_view_aff884bcc2616452f697b85269d8d549d}{keyboardDeleteSynth} (QString mapKey)
\item 
void \hyperlink{class_yig_network_channel_view_a7681bf92ae7fba5d683d7fd282394027}{cableCreated} (QString mapKey, QString inputKey, QString outputKey, \hyperlink{class_yig_cable_graphic_af184598588b32de1439cc157858141db}{YigCableGraphic::CableOutputType} outputType)
\item 
void \hyperlink{class_yig_network_channel_view_a20a984754b8240061314a122a274ba54}{cableDestroyed} (QString mapKey)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_yig_network_channel_view_aff82d04edeb1d860a8c97ff9ccd4dc22}{YigNetworkChannelView} (QWidget $\ast$parent)
\item 
\hyperlink{class_yig_network_channel_view_a2bbe60971da63b3dff6714668c6f087a}{$\sim$YigNetworkChannelView} ()
\item 
void \hyperlink{class_yig_network_channel_view_add0e4ad867d4642c49c1d8863c15eed1}{setActiveView} (bool activeBool)
\item 
bool \hyperlink{class_yig_network_channel_view_a4458db64ad574ea549bdf3aa846608af}{getActiveBool} ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_network_channel_view_a76c54f38046adb9ef8926f0b5f635ba5}{dragMoveEvent} (QDragMoveEvent $\ast$event)
\item 
void \hyperlink{class_yig_network_channel_view_ad6fbd4cc725a9e14ac2da766629716c1}{dropEvent} (QDropEvent $\ast$event)
\item 
void \hyperlink{class_yig_network_channel_view_aff248b89faa1fa2b66137ceff438789e}{keyReleaseEvent} (QKeyEvent $\ast$event)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_yig_network_channel_view}{YigNetworkChannelView} View for an instance of a network channel. Handles SynthGraphic and CableGraphic Creation/Manipulation 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_yig_network_channel_view_aff82d04edeb1d860a8c97ff9ccd4dc22}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!YigNetworkChannelView@{YigNetworkChannelView}}
\index{YigNetworkChannelView@{YigNetworkChannelView}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{YigNetworkChannelView}]{\setlength{\rightskip}{0pt plus 5cm}YigNetworkChannelView::YigNetworkChannelView (QWidget $\ast$ {\em parent})}}
\label{class_yig_network_channel_view_aff82d04edeb1d860a8c97ff9ccd4dc22}
\hyperlink{class_yig_network_channel_view}{YigNetworkChannelView} constructor 
\begin{DoxyParams}{Parameters}
\item[{\em QWidget}]$\ast$parent Parent widget that contains this view \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a2bbe60971da63b3dff6714668c6f087a}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!$\sim$YigNetworkChannelView@{$\sim$YigNetworkChannelView}}
\index{$\sim$YigNetworkChannelView@{$\sim$YigNetworkChannelView}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{$\sim$YigNetworkChannelView}]{\setlength{\rightskip}{0pt plus 5cm}YigNetworkChannelView::$\sim$YigNetworkChannelView ()}}
\label{class_yig_network_channel_view_a2bbe60971da63b3dff6714668c6f087a}
\hyperlink{class_yig_network_channel_view}{YigNetworkChannelView} deconstructor, cleans up the synthGraphicMap and cableGraphicMap 

\subsection{Member Function Documentation}
\hypertarget{class_yig_network_channel_view_a7681bf92ae7fba5d683d7fd282394027}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!cableCreated@{cableCreated}}
\index{cableCreated@{cableCreated}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{cableCreated}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::cableCreated (QString {\em mapKey}, \/  QString {\em inputKey}, \/  QString {\em outputKey}, \/  {\bf YigCableGraphic::CableOutputType} {\em outputType})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_view_a7681bf92ae7fba5d683d7fd282394027}
cableCreated emitted when the user has created a new cable between two synths 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]mapKey The network channel view map key for this cable \item[{\em QString}]inputKey the map key for the synth that BEGINS the cable \item[{\em CableOutputType}]outputKey the map key for the synth that ENDS the cable \item[{\em QString}]outputType the type of output for the cable, either NO\_\-OUTPUT, AUDIO, or MODULATION \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a20a984754b8240061314a122a274ba54}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!cableDestroyed@{cableDestroyed}}
\index{cableDestroyed@{cableDestroyed}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{cableDestroyed}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::cableDestroyed (QString {\em mapKey})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_view_a20a984754b8240061314a122a274ba54}
cableDestroyed emitted when the local user deletes a cable directly or indirectly QString mapKey the cableGraphicMap key, also mirrored in \hyperlink{class_yig_network_channel}{YigNetworkChannel} \hypertarget{class_yig_network_channel_view_ac109b426d0d45d56ecb6d74296f47283}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!createCableGraphic@{createCableGraphic}}
\index{createCableGraphic@{createCableGraphic}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{createCableGraphic}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::createCableGraphic (QString {\em inputKey}, \/  QString {\em outputKey}, \/  {\bf YigCableGraphic::CableOutputType} {\em outputType})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_view_ac109b426d0d45d56ecb6d74296f47283}
createCable Create a cable in this view 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]inputKey The synthGraphicMap key for the input synth \item[{\em QString}]outputKey The synthGraphicMap key for the output synth \item[{\em \hyperlink{class_yig_cable_graphic_af184598588b32de1439cc157858141db}{YigCableGraphic::CableOutputType}}]outputType The output type of the cable AUDIO or MODULATION \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a6f6873594af6546786154aad4cfd0989}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!createSynthGraphic@{createSynthGraphic}}
\index{createSynthGraphic@{createSynthGraphic}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{createSynthGraphic}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::createSynthGraphic ({\bf YigSynth} $\ast$ {\em yigSynth}, \/  QString {\em key}, \/  QString {\em synthName}, \/  QPoint {\em point})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_view_a6f6873594af6546786154aad4cfd0989}
createSynthObect Create a new \hyperlink{class_yig_synth_graphic}{YigSynthGraphic} and associate elements and store the synth graphic in the synthGraphicMap 
\begin{DoxyParams}{Parameters}
\item[{\em YigSynth$\ast$}]yigSynth Pointer to the \hyperlink{class_yig_synth}{YigSynth} that was created. Used for Signal/Slot connection with the synth graphic \item[{\em QString}]key The key to use for map storage. This is important to keep the \hyperlink{class_yig_network_channel}{YigNetworkChannel} and \hyperlink{class_yig_network_channel_view}{YigNetworkChannelView} maps mirrored. \item[{\em QString}]synthName Name of the type of synth object to creat (sin,square, etc...) \item[{\em QPoint}]point Where in the scene the synth object should be created \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a98db6c32035302894cd9d877acf8b489}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!destroyCableGraphic@{destroyCableGraphic}}
\index{destroyCableGraphic@{destroyCableGraphic}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{destroyCableGraphic}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::destroyCableGraphic (QString {\em mapKey})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_view_a98db6c32035302894cd9d877acf8b489}
destroyCableGraphic Destroy a cable graphic in this view 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]key The key for the cable graphic to be removed/deleted \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a65179ebaab3938c2ff309f7a5ed06c4b}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!destroySynthGraphic@{destroySynthGraphic}}
\index{destroySynthGraphic@{destroySynthGraphic}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{destroySynthGraphic}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::destroySynthGraphic (QString {\em key})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_view_a65179ebaab3938c2ff309f7a5ed06c4b}
destroySynthGraphic Destroy a synth graphic in this view 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]key The key for the synth graphic to be removed/deleted \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_afbac77d5cb7d967f570805927f3546d3}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!dragAndDrop@{dragAndDrop}}
\index{dragAndDrop@{dragAndDrop}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{dragAndDrop}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::dragAndDrop (QString {\em userName}, \/  QString {\em synthName}, \/  QPoint {\em point})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_view_afbac77d5cb7d967f570805927f3546d3}
dragAndDrop emitted when drag and drop processed has been completed triggers the new synth object creation process in \hyperlink{class_yig_network_channel}{YigNetworkChannel} 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]user name for the user creating the object \item[{\em QString}]the name of the synth object we're creating \item[{\em QPoint}]location of the new synth object \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a76c54f38046adb9ef8926f0b5f635ba5}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!dragMoveEvent@{dragMoveEvent}}
\index{dragMoveEvent@{dragMoveEvent}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{dragMoveEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::dragMoveEvent (QDragMoveEvent $\ast$ {\em event})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_network_channel_view_a76c54f38046adb9ef8926f0b5f635ba5}
checkEllipseClick called when the local user clicks on an audioOutput ellipse 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]mapKey the map key for the synth graphic \item[{\em EllipseType}]the type of ellipse, either AUDIO\_\-INPUT, AUDIO\_\-OUTPUT, or MOD\_\-INPUT \item[{\em const}]QPointF\& point the CENTER of the output ellipse dragMoveEvent Called when drag is moved, right now does nothing, perhaps draws a preview of the object in the future? \item[{\em QDragMoveEvent}]$\ast$event the particular drag move event for this action \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_ad6fbd4cc725a9e14ac2da766629716c1}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!dropEvent@{dropEvent}}
\index{dropEvent@{dropEvent}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{dropEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::dropEvent (QDropEvent $\ast$ {\em event})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_network_channel_view_ad6fbd4cc725a9e14ac2da766629716c1}
dropEvent Call on drop, we use to emit dragAndDrop(QString) 
\begin{DoxyParams}{Parameters}
\item[{\em QDropEvent}]$\ast$event that particular drop event for this action \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_a4458db64ad574ea549bdf3aa846608af}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!getActiveBool@{getActiveBool}}
\index{getActiveBool@{getActiveBool}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{getActiveBool}]{\setlength{\rightskip}{0pt plus 5cm}bool YigNetworkChannelView::getActiveBool ()}}
\label{class_yig_network_channel_view_a4458db64ad574ea549bdf3aa846608af}
getActiveBool Query the active status of this view 
\begin{DoxyParams}{Parameters}
\item[{\em bool}]Active status \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_aff884bcc2616452f697b85269d8d549d}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!keyboardDeleteSynth@{keyboardDeleteSynth}}
\index{keyboardDeleteSynth@{keyboardDeleteSynth}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{keyboardDeleteSynth}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::keyboardDeleteSynth (QString {\em mapKey})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_view_aff884bcc2616452f697b85269d8d549d}
keyboardDeleteSynth Emitted when the local user attempts to delete a synth from the keyboard 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]mapKey the key for the synth to be deleted \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_aff248b89faa1fa2b66137ceff438789e}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!keyReleaseEvent@{keyReleaseEvent}}
\index{keyReleaseEvent@{keyReleaseEvent}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{keyReleaseEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::keyReleaseEvent (QKeyEvent $\ast$ {\em event})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_network_channel_view_aff248b89faa1fa2b66137ceff438789e}
keyReleaseEvent Call on on key release, passed on to parent classes 
\begin{DoxyParams}{Parameters}
\item[{\em QKeyEvent}]$\ast$event the particular key event \end{DoxyParams}
\hypertarget{class_yig_network_channel_view_add0e4ad867d4642c49c1d8863c15eed1}{
\index{YigNetworkChannelView@{YigNetworkChannelView}!setActiveView@{setActiveView}}
\index{setActiveView@{setActiveView}!YigNetworkChannelView@{YigNetworkChannelView}}
\subsubsection[{setActiveView}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannelView::setActiveView (bool {\em activeBool})}}
\label{class_yig_network_channel_view_add0e4ad867d4642c49c1d8863c15eed1}
setActiveView sets this view as the main view for the local user. This decides whether or not the view can accept drop events and is interactive or read-\/only. 
\begin{DoxyParams}{Parameters}
\item[{\em bool}]Active status \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
gui/yignetworkchannelview.h\item 
gui/yignetworkchannelview.cpp\end{DoxyCompactItemize}
